﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tDataStoreReference")]
[XmlRoot("dataStoreReference", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class DataStoreReference : FlowElement
{
    /// <remarks/>
    [XmlElement("dataState")]
    public DataState DataState { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("itemSubjectRef")]
    public XmlQualifiedName ItemSubjectRef { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("dataStoreRef")]
    public XmlQualifiedName DataStoreRef { get; set; } = default!;
}
